﻿using AutoMapper;
using study.Departments;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace study.Demo.Dto
{
    public class DepartmentMapProfile : Profile
    {
        public DepartmentMapProfile()
        {
            CreateMap<DepartmentDto, Department>();
            CreateMap<CreateDepartmentDto, Department>();

            CreateMap<Department, DepartmentDto>();
        }
    }

}
